package com.cc.mall.vo;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@Data
@ApiModel("商品详情")
public class ProductDetailVo {
    @ApiModelProperty("商品详情id")
    private Long id;
    /**
     * 商品id
     */
    @ApiModelProperty("商品id")
    private Long pid;
    @ApiModelProperty("商品大标题")
    private String bigTitle;
    @ApiModelProperty("商品小标题")
    private String smallTitle;
    /**
     * 价格
     */
    @ApiModelProperty("商品价格")
    private BigDecimal productPrice;
    /**
     * 规格
     */
    @ApiModelProperty("商品规格")
    private List<OtherSizeVo> otherSizes = new ArrayList<>();
    /**
     * 轮播图
     */
    @ApiModelProperty("商品图片集合")
    private List<String> bannerPic;
}
